#ifndef	__GUIWINDOW_H_
#define	__GUIWINDOW_H_

#include <string>

#include "guiwidget.h"
#include "math.h"

class CGuiManager;

class CGuiWindow : public CGuiWidget
{
	friend class CGuiManager;
	public:
		CGuiWindow();
		~CGuiWindow();

		virtual void Initialize(vec2f& pos, vec2f& dim, std::string& caption, GuiColor& color);
		virtual void Initialize(vec2f& pos, vec2f& dim, std::string& caption);

		virtual bool IsMouseOverTitleBar();
		virtual bool WasMouseInsideTitleBar();
		virtual bool IsDraggable();

		virtual void Update();
		virtual void Render();
		
		void Dispose();

	private:
		std::string m_sCaption;
};

#endif
